import request from "@/utils/request";

// 权益套餐订单列表
export function getAppQyOrdersList(query) {
  return request({
    url: "/app/getAppQyOrdersList",
    method: "get",
    params: query,
  });
}

// 权益套餐订单单条
export function getAppQyOrdersInfo(query) {
  return request({
    url: "/app/getAppQyOrdersInfo",
    method: "get",
    params: query,
  });
}

// 权益套餐订单-新增

export function addAppQyOrders(data) {
  return request({
    url: "/app/addAppQyOrders",
    method: "post",
    data,
  });
}

// 权益套餐订单-编辑

export function updateAppQyOrders(data) {
  return request({
    url: "/app/updateAppQyOrders",
    method: "post",
    data,
  });
}

// 权益套餐订单-删除

export function deleteAppQyOrders(data) {
  return request({
    url: "/app/deleteAppQyOrders",
    method: "post",
    data,
  });
}
